package cn.zjyj.module.zjyj.controller.admin.riskassessmentinstancerel.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 风险评估实例关系新增/修改 Request VO")
@Data
public class RiskAssessmentInstanceRelSaveReqVO {

    @Schema(description = "主键id", requiredMode = Schema.RequiredMode.REQUIRED, example = "2469")
    private Long id;

    @Schema(description = "风险申请记录id", requiredMode = Schema.RequiredMode.REQUIRED, example = "13708")
    @NotNull(message = "风险申请记录id不能为空")
    private Long applyRecordId;

    @Schema(description = "风险评估id", requiredMode = Schema.RequiredMode.REQUIRED, example = "17317")
    @NotNull(message = "风险评估id不能为空")
    private Long assessmentDetailId;

    @Schema(description = "风险辨识内容实例id", requiredMode = Schema.RequiredMode.REQUIRED, example = "18285")
    @NotNull(message = "风险辨识内容实例id不能为空")
    private Long instanceId;

    @Schema(description = "状态(0:未评估，1:评估通过，2:评估不通过)", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "状态(0:未评估，1:评估通过，2:评估不通过)不能为空")
    private Integer status;

    @Schema(description = "辨识内容编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "辨识内容编码不能为空")
    private String identifyContentCode;

}